<?php
/**
 * ExtFieldSet class file
 *
 * @author TrueSoftware B.V. (The Netherlands)
 * @link http://www.ext4yii.com
 * @copyright Copyright 2007-2010 TrueSoftware B.V. all rights reserved.
 * @license http://www.ext4yii.com/license/
 *          EVALUATION VERSION - NOT FOR COMMERCIAL USE OR DISTRIBUTION.
 * @version 0.7.2
 */

class ExtFieldSet extends ExtPanel
{
    /**
     * Gets the value of ExtJS animCollapse property
     * @return Boolean 
     */
    public function getAnimCollapse()
    {
    	return $this->getConfig("animcollapse");
    }

    /**
     * Sets the value of ExtJS animCollapse property
     * @param Boolean $value 
     */
    public function setAnimCollapse($value)
    {
    	$this->setConfig("animcollapse",$value);
    }

    /**
     * Gets the value of ExtJS baseCls property
     * @return String 
     */
    public function getBaseCls()
    {
    	return $this->getConfig("basecls");
    }

    /**
     * Sets the value of ExtJS baseCls property
     * @param String $value 
     */
    public function setBaseCls($value)
    {
    	$this->setConfig("basecls",$value);
    }

    /**
     * Gets the value of ExtJS checkboxName property
     * @return String 
     */
    public function getCheckboxName()
    {
    	return $this->getConfig("checkboxname");
    }

    /**
     * Sets the value of ExtJS checkboxName property
     * @param String $value 
     */
    public function setCheckboxName($value)
    {
    	$this->setConfig("checkboxname",$value);
    }

    /**
     * Gets the value of ExtJS checkboxToggle property
     * @return Mixed 
     */
    public function getCheckboxToggle()
    {
    	return $this->getConfig("checkboxtoggle");
    }

    /**
     * Sets the value of ExtJS checkboxToggle property
     * @param Mixed $value 
     */
    public function setCheckboxToggle($value)
    {
    	$this->setConfig("checkboxtoggle",$value);
    }

    /**
     * Gets the value of ExtJS collapsible property
     * @return Boolean 
     */
    public function getCollapsible()
    {
    	return $this->getConfig("collapsible");
    }

    /**
     * Sets the value of ExtJS collapsible property
     * @param Boolean $value 
     */
    public function setCollapsible($value)
    {
    	$this->setConfig("collapsible",$value);
    }

    /**
     * Gets the value of ExtJS labelWidth property
     * @return Number 
     */
    public function getLabelWidth()
    {
    	return $this->getConfig("labelwidth");
    }

    /**
     * Sets the value of ExtJS labelWidth property
     * @param Number $value 
     */
    public function setLabelWidth($value)
    {
    	$this->setConfig("labelwidth",$value);
    }

    
    public function __construct()
    {
        parent::__construct();
        $this->configmap = array_merge($this->configmap,array(
            'animcollapse' => 'animCollapse',
            'basecls' => 'baseCls',
            'checkboxname' => 'checkboxName',
            'checkboxtoggle' => 'checkboxToggle',
            'labelwidth' => 'labelWidth'
        ));



        $this->setXType('fieldset');
        $this->setXClass('Ext.form.FieldSet');
    }    
}
?>